Convert object to Json String

96

how to convert jsonobject to string in java -

JSONObject json = new JSONObject();

json.toString();

Converting string to json object -

var oTemp = JSON.parse(buf.toString());

Comments

Submit
0 Comments